package com.kawins.supers.upload.ftp;

import com.kawins.supers.upload.IFileManager;
import com.kawins.supers.upload.core.FileLoadBean;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;
import java.util.Set;

/**
 * @author rankai
 *         createTime 2017-11-2017/11/2 15:24
 */
public class FtpFileService implements IFileManager {

    @Override
    public FileLoadBean upload(MultipartFile file) {
        return null;
    }

    @Override
    public FileLoadBean upload(String groupName, MultipartFile file) {
        return null;
    }

    @Override
    public FileLoadBean upload(String fileName, String fileExt, byte[] file) {
        return null;
    }

    @Override
    public FileLoadBean upload(String fileName, String fileExt, String groupName, byte[] file) {
        return null;
    }


    @Override
    public List<FileLoadBean> upload(MultipartFile[] files) {
        return null;
    }

    @Override
    public List<FileLoadBean> upload(String groupName, MultipartFile[] files) {
        return null;
    }

    @Override
    public ResponseEntity<byte[]> download(Object fileId) {
        return null;
    }

    @Override
    public InputStream downloadStream(Object fileId) {
        return null;
    }

    @Override
    public FileLoadBean update(Object fileId, MultipartFile file) {
        return null;
    }

    @Override
    public List<FileLoadBean> update(Set<Object> fileIds, MultipartFile[] files) {
        return null;
    }

    @Override
    public FileLoadBean update(Object fileId, String groupName, MultipartFile file) {
        return null;
    }

    @Override
    public List<FileLoadBean> update(Set<Object> fileIds, String groupName, MultipartFile[] files) {
        return null;
    }

    @Override
    public int delete(Object fileId) {
        return 0;
    }

    @Override
    public int delete(Set<Object> fileIds) {
        return 0;
    }
}
